POV-Ray : Newsgroups : povray.general : Warning: No pigment type given. : Re: Warning: No pigment type given. Server Time
5 Aug 2024 00:20:49 EDT (-0400)
  Re: Warning: No pigment type given.  
From: Timothy R  Cook
Date: 10 Jan 2003 10:42:15
Message: <3e1ee9d7@news.povray.org>
Tom Melly wrote:
> For example:
> 
> union{
>     object{foo texture{pigment{rgb 1}}}
>     object{bar texture{pigment{rgb 0.5} normal{granite}}}
>     object{foobar texture{normal{granite}}}
>     texture{pigment{rgb 0.25} normal{bozo}}
> }
> 
> It would be nice foo used the normal{bozo}, bar used nothing, and foobar used
> the pigment{rgb 0.25}

That doesn't make any sense.  If I have a CSG such that

Union[textureA]
   Sub-objectA[textureB]
   Sub-objectB[textureC]
   Sub-objectC[no texture]

Then it would make sense to have sub-objects A and B use the textures
that are specifically assigned to them, but C use texture A because
that's what's given for the overall CSG...you would have it ignore a
texture specifically assigned to a sub-object.

-- 
--Tim Cook
http://empyrean.scifi-fantasy.com

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.